package com.donruan.controller;

import com.donruan.po.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

//    @Autowired
//    IUserService userService;

    @RequestMapping("/getUser")//"/user/getUser"
    public String getUser(User user){
        return "ooo";
    }

    public int savaUser(User  user){
        return 1;
    }
}
